package com.cat.asmandroidtrace;

import android.app.Activity;
import android.widget.Toast;

public class TraceUtils {


    public static void onActivityCreate(Activity activity) {
        Toast.makeText(activity.getApplication(), activity.getComponentName().getShortClassName() + " create", Toast.LENGTH_SHORT)
                .show();
    }


    public static void onActivityDestroy(Activity activity) {
        Toast.makeText(activity.getApplication(), activity.getComponentName().getShortClassName() + "destroy",
                Toast.LENGTH_SHORT)
                .show();
    }
}
